// pages/work/components/todo-main/todo-main.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    list: {
      type: Array,
      value: ['a']
    }
  },
  methods: {
    del(e) {
      console.log(e)
      this.triggerEvent('del', e.mark.idx)
    }
  }
})
